<script setup lang="ts">
import MyBox from '@/components/Common/MyBox.vue'
import BasicTable from '@/components/Common/BasicTable.vue'
defineProps(['tips', 'shift', 'cols', 'data'])
</script>
<template>
  <MyBox class="product-info" title="工单信息">
    <template v-slot:main>
      <div class="mt-2">
        <SeamlessList :data="data" :cols="cols" />
      </div>
    </template>
    <template v-slot:extra>
      <!-- 线别选择 -->
      <!-- <div class="select-box">
        <div class="flex justify-around items-center">
          <p class="flex items-center">
            <span class="mr-1">线别</span>
            <el-select v-model="lineType" style="width: 113px" @change="changeLine">
              <el-option
                v-for="(item, index) in lineList"
                :key="index"
                :label="item"
                :value="item"
              />
            </el-select>
          </p>
          <p class="flex items-center ml-2">
            <span class="mr-1 ml-1">班别</span> <el-input :value="shift" style="width: 113px" />
          </p>
        </div>
      </div> -->
      <!-- 提示语 -->
      <!-- <div class="tips" :title="tips">{{ tips }}</div> -->
    </template>
  </MyBox>
</template>
<style lang="less" scoped>
@import url('../../../style/reset.less');

.product-info {
  width: calc(55% - 15px);
  position: relative;
  .select-box {
    position: absolute;
    left: 150px;
    top: 3px;
    p {
      color: #00f2f1;
    }
  }
  .tips {
    position: absolute;
    right: 10px;
    top: 3px;
    width: 275px;
    color: #fac858;
    // font-size: 12px;
    text-align: right;
    line-height: 29px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 600;
  }
  :deep(.scroll) {
    height: 353px;
  }
  :deep(.scroll-box .my-empty-data) {
    height: 365px;
    line-height: 365px;
  }
}
</style>
